[#include "/WEB-INF/pages/common/taglibs.ftl"]
	
<script type="text/javascript">
	var base = (function(){
		// 事件绑定
		function _addEventListeners() {
		}
		return {
            config: {
            	url : null,
                theme: null
            },
            init: function () {
            	_addEventListeners();
            }
		}
	}());
	
	$(function() {
		var link = "[@c.url value='/manage/Article_list.action?currentPage=${currentPage}' /]";
		base.config.theme = getTheme();
		base.config.url = link;
        //Initializing the form
		base.init();
	});
</script>
	
<div>
	<div class="external-event title">请选择文章类型</div>
	<br />
	<ul class="widgetlist" style="padding-left:12px;">
		[#list configType.configItemList as item]
		<li><a class="
		[#if item_index%4==0]
			events
		[#elseif item_index%4==1]
			message
		[#elseif item_index%4==2]
			upload
		[#else]
			events
		[/#if] default" href="[@c.url value='/manage/Article_create.action?channelId=${channelId}&pid=${pid}&formId=${item.value}'/]">${(item.text)!''}</a></li>										
		[/#list]
	</ul>
	<!--
    	<li><a class="events default" href="[@c.url value='/manage/Article_create.action?channelId=${channelId}&pid=${categoryId}'/]" style=" ">Latest Events</a></li>
    	<li><a class="message default" href="editor.html" style=" ">New Message</a></li>
        <li><a class="upload default" href="dashboard.html" style=" ">Upload Image</a></li>
    	<li><a class="events default" href="calendar.html" style=" ">Statistics</a></li>
    	<li><a class="message default" href="editor.html" style=" ">New Message</a></li>
	-->
</div>